<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>4-justify-content</title>
    <link rel="stylesheet" href="css/flex.css">
</head>

<body>
    <h1>四、justify-content实例</h1>
    <ul class="m-justify-content">
        <li>
            <h2>1.flex-start(默认,左对齐)</h2>
            <div class="box g-box31">
                <div class="box1">我是box1</div>
                <div class="box2">我是box2</div>
                <div class="box3">我是box3</div>
            </div>
        </li>
        <li>
            <h2>2.flex-end(右对齐)</h2>
            <div class="box g-box32">
                <div class="box1">我是box1</div>
                <div class="box2">我是box2</div>
                <div class="box3">我是box3</div>
            </div>
        </li>
        <li>
            <h2>3.center(居中对齐)</h2>
            <div class="box g-box33">
                <div class="box1">我是box1</div>
                <div class="box2">我是box2</div>
                <div class="box3">我是box3</div>
            </div>
        </li>
        <li>
            <h2>4.space-between(两端对齐)</h2>
            <div class="box g-box34">
                <div class="box1">我是box1</div>
                <div class="box2">我是box2</div>
                <div class="box3">我是box3</div>
            </div>
        </li>
        <li>
            <h2>5.space-around(每个项目两侧的间隔相等)</h2>
            <div class="box g-box35">
                <div class="box1">我是box1</div>
                <div class="box2">我是box2</div>
                <div class="box3">我是box3</div>
            </div>
        </li>
    </ul>

</body>

</html>